import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false
// 引入echarts
import  * as echarts from 'echarts'
Vue.prototype.$echarts=echarts

// 引入axios
import axios  from 'axios'
axios.defaults.baseURL='http://localhost:3000'
Vue.prototype.$http=axios

// 引入主题
import '../node_modules/echarts/theme/roma'
import '../node_modules/echarts/theme/dark'

new Vue({
  router,
  store,
  render: function (h) { return h(App) }
}).$mount('#app')
